#pragma once
#include "afxwin.h"


// CDialogOptionBG dialog

class CDialogOptionBG : public CDialog
{
	DECLARE_DYNAMIC(CDialogOptionBG)

public:
	CDialogOptionBG(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDialogOptionBG();

// Dialog Data
	enum { IDD = IDD_DIALOG_OPTION_BG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
	virtual void OnOK();
	virtual void OnCancel();
public:
	CString m_ImagePath;
public:
	afx_msg void OnBnClickedButtonBkgd();
public:
	afx_msg void OnBnClickedButton1();
public:
	CStatic m_BGPath;
	int BGWidth;
	int BGHeight;
	HBITMAP hBitmap;
	CBitmap pBitmap;
public:
	afx_msg void OnStnClickedBgpath();
public:
//	afx_msg void OnPaint();
public:
//	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
public:
	CStatic m_BGPRV;
public:
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
public:
	virtual BOOL OnInitDialog();
public:
	afx_msg void OnEnChangeEdit2();
public:
	afx_msg void OnEnChangeEdit3();
public:
	CButton m_Aspect;
public:
	afx_msg void OnBnClickedCheck1();
};
